{{define "tpl.html"}}
{{template "models.html"}}
<title>this is title</title>
<link rel="stylesheet" href="statics/css/tpl.css">
{{/*{{block "title" .}}*/}}
{{/*    title是tpl*/}}
{{/*{{end}}*/}}

{{/*{{block "body".}}*/}}
       tpl.html文件
{{.}}<br>
{{.msg}}<br>
<div>{{.user}}</div><br>
{{range $k, $v := .}}{{$k}}:{{$v}}<br>{{end}}
       <hr>
    {{with .user}}
        Name:{{.Name}}<br>
        Password:{{.Password}}
        {{end}}
{{end}}
{{/*{{end}}*/}}

